import { createApp,createVNode } from 'vue'
import { RouterView } from 'vue-router'
import { createPinia } from 'pinia'
import directive from '@/directive'
import router from './router'
import '@/assets/styles/index.less'

const root = createApp(RouterView)

root.use(router)
root.use(createPinia())

// 全局指令
root.use(directive)
// 全局组件
root.mount('body')

